package com.carkeeper.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carkeeper.dto.OrderDTO;
import com.carkeeper.entity.OrderPO;
import com.carkeeper.vo.Pager;

import java.util.Date;
import java.util.List;

public interface OrderService {
    Boolean createOrder(OrderPO order);
    Boolean delById(Long id);
    OrderPO getOrder(Long id);
    Boolean update(OrderPO order);
    Page<OrderPO> getOrderPage(Integer page, Integer pagesize, Integer type, String contact,
                               String orderStatus, String createTimeStart,String createTimeEnd,
                                String storeName,String code,String payStatus);
    List<OrderPO> findAll(Long storeId,String orderStatus,String payStatus);
}
